#!/bin/sh
mkdir ./training_set
mkdir ./training_set/images
mkdir ./training_set/images/train
mkdir ./training_set/images/val
mkdir ./training_set/labels
mkdir ./training_set/labels/train
mkdir ./training_set/labels/val
cd img
find -name "*.jpg" | xargs -I {} mv ./{} ../training_set/images/train
find -name "*.txt" | xargs -I {} mv ./{} ../training_set/labels/train
cd ../
python3 ./sample_dataset.py
echo 'sample_dataset finished'